<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>卡券效果</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            list-style: none;
        }
        body{
            height: 100vh;
            display: grid;
            padding-bottom: 100px;
            background-color: #abc;
        }
        .box{
            position: relative;
            width: 300px;
            height: 150px;
            filter: drop-shadow(1px 1px 2px #666);
            margin: auto;
        }
        .box::before{
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background: orange;
            mask: radial-gradient(circle at 20px 20px,transparent 20px,red 0) -20px -20px / 50% 100%,
                          radial-gradient(circle at 5px 5px,transparent 5px,red 0) -155px -5px / 100% 9%;
            mask-composite: source-in;
            -webkit-mask: radial-gradient(circle at 20px 20px,transparent 20px,red 0) -20px -20px / 50% 100%,
                          radial-gradient(circle at 5px 5px,transparent 5px,red 0) -155px -5px / 100% 9%;
            -webkit-mask-composite: source-in;
        }
    </style>
</head>
<body>
    <div class="box">
        
    </div>
</body>
</html>